package com.kc.gb.device.common.adapter.dto.basic.rack;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.scheduling.annotation.Async;

@Data
@NoArgsConstructor
@Async
public class RackCache {
    private Long id;

    /**
     * 货架仓库ID
     */
    private Long warehouseId;
    /**
     * 货架所属区域
     */
    // private ZoneDto zone;
    /**
     * 货架状态
     */
    // private State state;
    /**
     * 是否启用
     */
    private Boolean enabled;
    /**
     * 货架编码
     */
    private String rackCode;
    /**
     * 别名
     */
    private String alias;
    /**
     * 货架数字码
     */
    private Long digitalCode;

    private Long rackTypeId;
    /**
     * 货架类型编码
     */
    private String rackTypeCode;
    /**
     * 虚拟类型
     *
     * @deprecated 不应该从此处获取。考虑到缓存独立刷新问题，应当尽量直接从货架类型中读取
     */
    // @Deprecated
    // private RackVirtualType virtualType;

    private String workFace;

    // private final RackAttr rackAttr;

}
